package com.min.service.impl;

import com.min.domain.journalismType;
import com.min.domain.sina;
import com.min.mapper.SinaMapper;
import com.min.service.SinaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SinaServerImpl  implements SinaService {


    @Autowired
    private SinaMapper sinaMapper;

    @Override
    public List<sina> getnoticiashoje() {
        return sinaMapper.getnoticiashoje();
    }

    @Override
    public List<sina> gethotNews() {
        return sinaMapper.gethotNews();
    }

    @Override
    public List<journalismType> getBroadcastNews() {
        return sinaMapper.getBroadcastNews();
    }
}
